#ifndef VREGISTERTREEWIDGET_H
#define VREGISTERTREEWIDGET_H

#include <QWidget>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include "AGDI.H"

class VRegisterTreeWidget : public QTreeWidget
{
    Q_OBJECT
public:
    explicit VRegisterTreeWidget(QWidget *parent = 0);

    update_data(RG51 data);
signals:

public slots:

private:
    QTreeWidgetItem *_regs_item;
    QTreeWidgetItem *_sys_item;

    QTreeWidgetItem *_r0_item;
    QTreeWidgetItem *_r1_item;
    QTreeWidgetItem *_r2_item;
    QTreeWidgetItem *_r3_item;
    QTreeWidgetItem *_r4_item;
    QTreeWidgetItem *_r5_item;
    QTreeWidgetItem *_r6_item;
    QTreeWidgetItem *_r7_item;

    QTreeWidgetItem *_npc_item;
    QTreeWidgetItem *_sp_item;
    QTreeWidgetItem *_psw_item;
    QTreeWidgetItem *_b_item;
    QTreeWidgetItem *_acc_item;
    QTreeWidgetItem *_dptr_item;
};

#endif // VREGISTERTREEWIDGET_H
